package com.generator.sysManage.userManage.service;

import com.generator.sysManage.userManage.pojo.Dept;
import com.generator.sysManage.userManage.pojo.Job;
import com.generator.sysManage.userManage.pojo.Users;
import com.generator.sysManage.userManage.pojo.Users1;
import com.generator.util.PageModel;
import org.springframework.ui.Model;


import java.util.List;

public interface IUMService {

    //获取用户信息
    public List<Users> getUserListByUser(Users user);

    //用户列表的分页
    public PageModel<Users> getUserListByFY(Users users,PageModel<Users> pageModel);

    //查询所有部门
    public List<Dept> getDeptList(Dept dept);

    //查询所有部门
    public List<Job> getJobList(Job job);

    //查询单个用户信息
    public List<Users> queryOne(Users1 user);

    //添加用户
    public Integer addUser(Users1 user);

    //修改用户
    public Integer updateUser(Users1 user);

    //修改用户职位状态
    public String updateStatu(Users users, Model model);
}
